<ion-header>
  <ion-toolbar color="primary">
    <ion-buttons>
      <ion-back-button default-href=""></ion-back-button>
      <ion-title>详情</ion-title>
    </ion-buttons>
  </ion-toolbar>
</ion-header>
<ion-content>
  <div class="container" *ngIf="detail && detail.title">
    <div><span class="title">标题</span>: {{detail.title}}</div>
    <div><span class="title">创建时间</span>: {{detail.createTime}}</div>
    <div><span class="title">内容</span>: <span [innerHTML]="detail.content"></span></div>
    <div><span class="title">附件</span>: <span *ngIf="detail.url">
        <ion-button style="margin-top: -10px;" size="small" (click)="DownLoad(detail.url, detail.title)">附件下载
        </ion-button>
      </span>
      <span *ngIf="!detail.url" style="color: #ccc;">未上传附件</span>
    </div>
  </div>
</ion-content>